
package cn.hz.horse;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
import java.util.List;
import java.util.concurrent.Executors;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.ScheduledExecutorService;

 

public class EzFactory  {

    public static EzRuner buildRuner(){
    	EzRuner runer=new EzRuner();
    	runer.setQu(EzSource.qu);
    	runer.setErrorQu(EzSource.errorQu);
    	runer.setSuccQu(EzSource.succQu);
    	
    	return runer;
    }
    
    public static EzSuccRuner buildSucRuner(){
    	EzSuccRuner runer=new EzSuccRuner(); 
    	runer.setSuccQu(EzSource.succQu); 
    	
    	return runer;
    }
    
    

    public static EzFailRuner buildFailRuner(){
    	EzFailRuner runer=new EzFailRuner(); 
    	runer.setErrorQu(EzSource.errorQu); 
    	
    	return runer;
    }
 
}
